@import "theme.scss";

*{
  touch-action: none;
}

.category-control{
  .mui-segmented-control.mui-segmented-control-inverted{
    font-size: 12px;
  }
  .mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active{
    color: $_theme;
    border-bottom: 2px solid $_theme;
    background: 0 0;
  }
  .mui-control-item{
    .mui-icon{
      font-size: 12px;
    }
    .mui-icon-extra{
      font-size: 12px;
    }
  }

  .mui-row{
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
  }

  .item_goods{
    padding: 5px;
    text-align: center;
    font-size: 12px;
    .goods_title{
        color: $_333;
    }
    .goods_price{
        color: $_999;
    }
    .login_price{
        color: $_theme;
    }
  }
}

.mui-btn-primary:enabled:active{
  color: #fff;
  border: 1px solid $_theme;
  background-color: #666666;
  opacity: 0.5;
}
.theme_color{
  color: $_theme;
}

.category-all {
  width: 100%;
  height: 500px;
  max-height: 50vh;
  left: 0 !important;
  background-color: $_white;
}

.search-choose-wrap {
  margin-top: 9px;
  .mui-table-view {
    &::before,
    &::after {
      height: 0;
    }
    .mui-table-view-cell {
      padding: 6px 3.2vw 9px;
      &::after {
        height: 0;
      }
      &.mui-active {
        background: #fff;
      }
      .mui-navigate-right {
        font-size: 12px;
        font-weight: 600;
        margin: 0;
        padding: 0;
      }
      .mui-collapse-content {
        margin: 0;
        padding: 0;
        .choose-list-wrap {
          display: flex;
          flex-wrap: wrap;
        }
        .choose-list {
          width: 21.6vw;
          height: 26px;
          font-size: 12px;
          line-height: 26px;
          text-align: center;
          background: #eee;
          margin-right: 2.4vw;
          margin-top: 8px;
          border-radius: 4px;
          color: #333;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          &:nth-child(4n) {
            margin-right: 0;
          }
        }
        .choose-active {
          background-color: #fff1f1;
          position: relative;
          overflow: hidden;
          .search-chahao {
            display: block;
            width: 8px;
            height: 8px;
            background: url(../images/search_chahao.svg);
            background-size: 100% 100%;
            position: absolute;
            right: 0;
            bottom: 0;
          }
        }
      }
    }
  }
}

.search-button-wrap {
  margin-top: 20px;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  .mui-btn {
    padding: 8px 32px;
    border-radius: 4px;
  }
  .search-btn-clear {
    background-color: #648FAA;
    border-color: #648FAA;
    margin-right: 9px;
  }
  .search-btn-search {
    background-color: $_theme;
    border-color: $_theme;
  }
}

.page_footer{
  padding-top: 10px;
  border-top: 1px solid #c8c7cc;
  font-size: 16px;
  .page_go{
    display: flex;
    justify-content: center;
    .page_input{
      width: 30px;
      padding: 0px;
      height: 22px;
      margin: 0px 5px;
    }
    .page_submit{
      height: 22px;
      padding: 2px 12px;
      background-color: #e4393c;
      border: 1px solid #e4393c;
    }
  }
  .page{
    display: flex;
    justify-content: center;
    margin: 10px;
    a{
      font-size: 15px;
      padding: 2px 10px;
      border: 1px solid #eeeeee;
      color: #e4393c;
      border-right: none;
      border-radius: 2px;
    }
    a:last-child{
      border: 1px solid #eeeeee;
    }
  }
}
